package com.manage.handler;

import java.util.HashMap;
import java.util.Map;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

@RequestMapping("/front")
@Controller
public class FrontHandler {

	@RequestMapping("/add.do")
	public String addMessage(String name,String email,String message) {
		Map map = new HashMap();
		map.put("name", name);
		map.put("phone", email);
		map.put("message", message);
		
		System.out.println(map);
		
		return "/index.jsp";
	}
}
